<template>
    <div id="app">
        <keep-alive :include="['home', 'order', 'profile']">
            <router-view></router-view>
        </keep-alive>
        <TabBar v-if="$route.meta.showTabBar" />
    </div>
</template>

<script>
import TabBar from "@/components/common/tabBar/index";
export default {
    components: {
        TabBar
    },
    data() {
        return {
            showHello: true,
            includePage: '["home", "order", "profile"]'
        };
    },
    mounted() {
        // setTimeout(() => {
        //     this.showHello = true;
        // }, 2000);
        // console.log(this.$store.state.userInfo);
        console.log(this.$router, this.$store);
    }
};
</script>




<style>
#app {
    width: 100%;
}
</style>